<template>
  <a>{{msg}}</a>
</template>

<script>
export default {
  name: 'index',
  data () {
    return {
      msg: 'This is a index'
    }
  }
}
</script>

<!-- 作用域 只是在当前的对象里面 -->
<style scoped>
  h1, h2 {
    font-weight: normal;
  }
  ul {
    list-style-type: none;
    padding: 0;
  }
  li {
    display: inline-block;
    margin: 0 10px;
  }
  a {
    color: #42b983;
  }
</style>
